package com.roam;

import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.model.Filters;
import com.mongodb.client.model.Sorts;
import com.roam.mgdb.MongoUtils;
import org.bson.Document;
import org.bson.conversions.Bson;
import org.junit.Test;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Locale;

@SpringBootApplication
@MapperScan("com.roam.mapper")
public class RoamServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(RoamServerApplication.class, args);
    }

//    @Test
//    public void test01(){
//    }

}
